<head th:fragment="header">
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title></title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="css/bootstrap.min.css?v=3.3.6"
		  th:href="@{/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
	<link href="/css/font-awesome.css?v=4.4.0"
		  th:href="@{/css/font-awesome.css?v=4.4.0}" rel="stylesheet">
	<link href="/css/plugins/bootstrap-table/bootstrap-table.min.css"
		  th:href="@{/css/plugins/bootstrap-table/bootstrap-table.min.css}"
		  rel="stylesheet">
	<link href="/css/plugins/jsTree/style.min.css" rel="stylesheet">
	<link href="/css/plugins/jqTreeGrid/jquery.treegrid.css"
		  rel="stylesheet">
	<!--summernote css -->
	<link href="/css/plugins/summernote/summernote-0.8.8.css"
		  rel="stylesheet">
	<link href="css/animate.css" th:href="@{/css/animate.css}"
		  rel="stylesheet">
	<link href="/css/plugins/chosen/chosen.css" rel="stylesheet">
	<link href="/css/style.css?v=4.1.0" th:href="@{/css/style.css?v=4.1.0}"
		  rel="stylesheet">

	<!----文件控件css--->
	<link rel="stylesheet" th:href="@{/js/plugins/webuploader/webuploader.css}">
	<link rel="stylesheet" th:href="@{/js/plugins/webuploader/webuploader_demo.css}">

	<!-- 日期选择 css -->
	<link rel="stylesheet" th:href="@{/js/plugins/layer/laydate/skins/default/laydate.css}" />
	<link rel="stylesheet" th:href="@{/js/plugins/datepicker/css/datepicker3.css}" />


	<link rel="stylesheet" href="/css/font-awesome-4.7.0/css/font-awesome.css" />
	<link rel="stylesheet" href="/css/bootstrap.css" />

</head>
<div th:fragment="footer">
	<script src="/js/jquery.min.js?v=2.1.4"></script>
	<script src="/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script src="/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
	<script
			src="/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
	<script src="/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="/js/plugins/validate/messages_zh.min.js"></script>
	<script src="/js/plugins/jsTree/jstree.min.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
	<script src="/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
	<script src="/js/plugins/chosen/chosen.jquery.js"></script>
	<script src="/js/plugins/layer/layer.js"></script>
	<script src="/js/content.js?v=1.0.0"></script>
	<!--summernote-->
	<script src="/js/plugins/summernote/summernote.js"></script>
	<script src="/js/plugins/summernote/summernote-zh-CN.min.js"></script>
	<script src="/js/ajax-util.js"></script>

	<!-- 扩展的公共js -->
	<script th:src="@{/js/utils/common.js}"></script>
	<script th:src="@{/js/utils/serialize-utils.js}"></script>

	<!----日期选择js--->
	<script th:src="@{/js/plugins/datepicker/bootstrap-datepicker.js}"></script>
	<script th:src="@{/js/plugins/datepicker/lang/bootstrap-datepicker.zh_CN.min.js}"></script>
	<!--<script src="js/echarts.min.js"></script>-->
	<!--<script type="text/javascript" src="http://echarts.baidu.com/gallery/vendors/echarts/echarts-all-3.js"></script>-->
	<script th:src="@{/js/utils/echarts.js}"></script>
	<script th:src="@{/js/utils/jquery.ba-resize.js}"></script>

	<script type="text/javascript">
		//获取当前网址，如： http://localhost:8083/uimcardprj/share/meun.jsp
		var curWwwPath = window.document.location.href;
		//获取主机地址之后的目录，如： uimcardprj/share/meun.jsp
		var pathName = window.document.location.pathname;
		var pos = curWwwPath.indexOf(pathName);

		//获取主机地址，如： http://localhost:8083
		var urlHost = curWwwPath.substring(0, pos);
		//获取带"/"的项目名，如：/uimcardprj
		var projectName = pathName.substring(0, pathName.substr(1).indexOf('/') + 1);

		var ctx = urlHost;
		console.log(ctx);
		// var ctx = "";
	</script>

</div>
